package auto.app.controller.from;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("测试用例排序")
public class CollectionCaseSortFrom {
    /**
     测试合集id
     */
    @ApiModelProperty("测试合集id")
    @NotNull(message = "测试合集id不能为空")
    private Integer collectionId;
    /**
     测试用例排序集合
     */
    @ApiModelProperty("测试用例排序集合")
    @Valid
    @NotNull(message = "测试用例排序集合不能为空")
    private List<CaseSortFrom> caseSortFromList;
}
